package org.dousb.doujcodesandbox.security;


import java.security.Permission;

/**
 * DefaultSecurityManager
 * 默认安全管理器
 * @author 豆沙包
 * @version 1.0
 * @since 2025-11-02  21:02
 */
public class DefaultSecurityManager extends SecurityManager {

    /**
     * 放行所有权限
     * @param perm   the requested permission.
     */
    @Override
    public void checkPermission(Permission perm) {
        System.out.println("默认不做任何权限校验");
        super.checkPermission(perm);
    }
        // do nothing

}